package com.wushixin.springdemo.pojo.utils;

import lombok.Data;

@Data
public class Result {
    private Object data;
    private Boolean flag;
    private String message;
    public Result(Object data, Boolean flag) {
        this.data = data;
        this.flag = flag;
    }
    public Result(Boolean flag,String message) {
        this.flag = flag;
        this.message = message;
    }
}
